
{{each data as item index}}
     <div class="block bb df" >
        <div class="left" >
            <p class='hospital'><span></span><span>{{item.
dept_name}}</span></p>
            <p class="a">就诊医院：{{item.hospital_name}}</p>
            <p class="a">就诊科室：{{item.dept_name}}</p>
            <p class="a">就诊时间：{{item.make_date}} {{item.ampm}}</p>
        </div>
        {{if item.flag==1}}
        <div class="right"><p class="a bb js_cancel" data-order={{item.order}}>退号</p></div>
        {{ else if item.flag==2}}
          <div class="right"><p class="a bb b" data-order={{item.order}}>已完成</p></div>
        {{ else if item.flag==3}}
          <div class="right"><p class="a bb b" data-order={{item.order}}>已取消</p></div>
        {{else}}
         <div class="right"><p class="a b bb">已过期</p></div>
         {{/if}}
    </div>
{{/each}}